﻿using System;
using System.Collections.Generic;
using System.Text;
using Rodunu.Movies.Contracts;
using Rodunu.Movies.Interfaces.Data;

namespace Rodunu.Movies.Interfaces.User
{
    public interface IUser : IRepository<Contracts.UserInfo>
    {
        Contracts.UserInfo GetByUserName(string name, string password);

        Contracts.UserInfo GetByName(string name);

        IList<UserInfo> GetSharingUsers();

        UserValidation.VerificationReturnCode UpdateUserStatus(long userId, int status);
        void UpdateUserNetflixId(long userId, string netflixId);
        UserStatusTypes.Status GetUserStatus(long userID);
        void SetAvatar(long userId, string avatar);
        void SetLogin(long userId);
    }
}
